package com.zzl.finance.data.dto;

import com.zzl.apidoc.annotation.ApidocModel;
import com.zzl.apidoc.annotation.ApidocModelProperty;
import com.zzl.apidoc.constants.RequiredType;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author gull
 * @classname FinanceInstitutyListDto
 * @description 金融机构列表入参
 * @date 2022/7/29 上午10:54
 */
@ApidocModel
@Data
public class FinanceInstitutyListDto {
    @NotBlank(message = "金融机构id不能为空")
    @ApidocModelProperty(name = "金融机构id", required = RequiredType.TRUE)
    private String institutyId;
    @NotBlank(message = "企业id不能为空")
    @ApidocModelProperty(name = "企业id", required = RequiredType.TRUE)
    private String enterpriseId;
    @NotNull(message = "转让金额不能为空")
    @ApidocModelProperty(name = "转让金额", required = RequiredType.TRUE)
    private Double transferMount;

}
